package com.wlz.framework.register;

import java.util.HashMap;
import java.util.Map;

/**
 *  本地注册
 * @author wlz
 * @date 2022-07-11  9:10 下午
 */
public class LocalRegister {

    private static Map<String,Class> map = new HashMap<>();

    public static void register(String interfaceName, Class implClass) {
        map.put(interfaceName, implClass);
    }

    public static Class get(String interfaceName) {
        return map.get(interfaceName);
    }

}
